Skip to content

Conversation

@sevi-kun
Copy link

@sevi-kun sevi-kun commented Jun 2, 2021

added --content-disposition to $wget_opts for keeping the remote filename when downloading with a Permanent link to latest version
This is usefull if you want to download the latest version of papermc with a perma link like:
https://papermc.io/api/v1/paper/1.16.5/latest/download

Hey. This is my first pull request. I have no clue if what I am doing right now is ok or not. But I would realy like this parameter so I can script and use PaperMC properly.

added --content-disposition to $wget_opts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant